package com.kust.smarthome.web.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Accessors
public class PersonDetailsVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "id不能为空")
    private Integer id;

    @NotNull(message = "心率不能为空")
    private Integer rateNow;

    @NotNull(message = "体温不能为空")
    private Double temp;

    @NotNull(message = "步数不能为空")
    private Integer steps;

    @NotNull(message = "纬度不能为空")
    private Double longitude;

    @NotNull(message = "经度不能为空")
    private Double latitude;

}
